const {resolve} = require('path')

module.exports = {
  mode: 'production',
  entry: './src/fileFrom.js',
  output: {
    filename: 'bundle.js',
    path: resolve(__dirname, 'dist'),
    library: "someLibName",
    libraryTarget: "umd",
  },
  target: 'node'

}